import request from '../../utils/request2'

function addPoint(data) {
    return request({
        url: '/jianli/point/add',
        method: 'post',
        data: { parameters: data }
    })
}
function queryPoint(data) {
    return request({
        url: '/jianli/point/list',
        method: 'post',
        data: { parameters: data }
    })
}
function setPoint(data) {
    return request({
        url: '/jianli/point/updata',
        method: 'post',
        data: { parameters: data }
    })
}
function delPoint(data) {
    return request({
        url: '/jianli/point/delete',
        method: 'post',
        data: { parameters: data }
    })
}

export {
    addPoint,
    queryPoint,
    setPoint,
    delPoint,
}